boolean window_state( uint _state_word ); //check state bits of the item's owner just before the application or desktop ( usually this is the window that holds the item )
boolean focus( void ); //focus the item, returns 0 if not successfull
virtual void pop_up( void ); //called on mouse_click
virtual void tab_next( int direction ); //select next/previous tab stop item
virtual void local_next( int direction ); //select next/previous item between two tab stop items
virtual void drag( int _x, int _y ); //move the item to the _x,_y location
virtual void resize( int _xl, int _yl ); //resize the item to _xl/_yl width/heigh
void make_local( int x1, int y1, int &x2, int &y2 ); //convert global x1,y1 coordinates to local x2,y2
void make_global( int x1, int y1, int &x2, int &y2 ); //convert local x1,yl coordinates to global x2,y2
void get_origin( int &_x, int &_y ); //make_global( 0,0,_x,_y )
virtual boolean check_inside( int _x, int _y ); //return non-zero if point _x,_y is inside the item
virtual void redraw( void ); //invalidate the item, cousing it to be redrawn during next screen update session
virtual void handle_event( Tevent &ev ); //calls event_handler for every subitem ( if any ), and then, if the event still not serviced, calls self event_handler
Titem *handle_command( Titem *receiver, uint cmd_code ); //constructs a command event and calls receiver's handle event
virtual boolean valid( uint command ); //returns 0 if action command not allowed